package com.mm.shiro.dao;


import java.util.HashSet;
import java.util.Set;

/**
 * Created by Administrator on 2018/9/10/010.
 */
public class Role  {
    private String rid;
    private String rname;
    private Set<User> users = new HashSet<>();

    public String getRid() {
        return rid;
    }

    public void setRid(String rid) {
        this.rid = rid;
    }

    public String getRname() {
        return rname;
    }

    public void setRname(String rname) {
        this.rname = rname;
    }

    public Set<User> getUsers() {
        return users;
    }

    public void setUsers(Set<User> users) {
        this.users = users;
    }

    public Set<Module> getModules() {
        return modules;
    }

    public void setModules(Set<Module> modules) {
        this.modules = modules;
    }

    private Set<Module> modules=new HashSet<>();
}
